package com.fish.gaiety.gateway.repository;

import com.fish.gaiety.gateway.entity.dto.Authorities;
import com.fish.gaiety.gateway.entity.dto.User;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.Optional;

@Repository
@Deprecated
public interface AuthoritiesRepository extends JpaRepository<Authorities, Long> {
    Authorities findByUser(User user);
}
